package CompletableFuturefd;


import com.google.common.collect.Lists;

import java.util.List;

public class ArryaDemo {
    public static void main(String[] args) {
//        new Integer(0);
        List<String> list = Lists
                .newArrayList("apple","banana","orange");
//        String[] array = list.toArray(String[]::new);
//        String[] array = list.stream().toArray(String[]::new);

//        System.out.println(Arrays.toString(array));
    }
}
